package astnode;

import common.TokenType;

public class BinaryOperationNode extends ExpressionNode{
	public BinaryOperationNode(int lineNum) {
		super(lineNum);
	}
	private TokenType operator;
	private ExpressionNode leftExp;
	private ExpressionNode rightExp;

	public ExpressionNode getLeftExp() {
		return leftExp;
	}
	public void setLeftExp(ExpressionNode leftExp) {
		this.leftExp = leftExp;
	}
	public ExpressionNode getRightExp() {
		return rightExp;
	}
	public void setRightExp(ExpressionNode rightExp) {
		this.rightExp = rightExp;
	}
	public TokenType getOperator() {
		return operator;
	}
	public void setOperator(TokenType operator) {
		this.operator = operator;
	}

}
